#pragma once
#ifndef __POWER_EXERCISE_H
#define __POWER_EXERCISE_H
#include "Exercise.h"
#include "Device.h"

class PowerExercise : public Exercise
{
private:
	int numOfSets;
	int reharsalsInSet;
public:
	PowerExercise(const Device& d,int n,int r);
	friend ostream & operator<<(ostream & os,const PowerExercise & E); //#WD[3] RonnyR 12.12

	int	getNumOfSets		 () const {return this->numOfSets;}
	int	getRehearsalsInSet   () const {return this->reharsalsInSet;}


	void setNumOfSets		 (int numOfSets)		 {this->numOfSets		= numOfSets;}
	void setRehearsalsInSet  (int rehearsalsInSet)   {this->reharsalsInSet = rehearsalsInSet;}

	virtual Exercise * Clone() const;
	virtual void PrintExercise(ostream &os,int type)const;

};
#endif
